package com.yunhe.authority.model.base;

import com.yunhe.common.annotation.NameTitle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName MessageReadVo
 * @Description TODO
 * @Author HeTao
 * @Date 2021/10/20 10:41
 * @Version 1.0
 **/
@Data
@ApiModel("消息读取情况查询对象")
public class MessageReadVo implements Serializable {

    private static final long serialVersionUID = -8155954175540827207L;
    @ApiModelProperty("用户id")
    private Long messagePerson;

    @ApiModelProperty("用户名称")
    @NameTitle(nameType = "USER",nameCode = "messagePerson")
    private String messagePersonName;

    @ApiModelProperty("企业id")
    private Long companyId;

    @ApiModelProperty("企业名称")
    @NameTitle(nameType = "Company",nameCode = "companyId")
    private String companyName;
}
